﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace UserControls
{
    public partial class TestMenuList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack) 
            {
                List<Url> links = new List<Url>();
                links.Add(new Url {Address="http://www.abv.bg", Title="ABV.bg" });
                links.Add(new Url { Address = "http://www.mail.bg", Title = "Mail.bg" });
                links.Add(new Url { Address = "https://mail.google.com/", Title = "Gmail" });
                this.menu.Links = links;
                this.menu.Font = "tahoma";

            }
        }
    }
}